Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make tests runnable with pytest. #39

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jd-boyd
Copy link
Contributor

@jd-boyd jd-boyd commented Oct 30, 2018

Also update travisci to use pytest.

This is a start on issue #23.

@jd-boyd
Copy link
Contributor Author

jd-boyd commented Oct 30, 2018

The idea is to get the existing tests runnable with pytest and travis running it in place before adding to the test load.

I saw the previous failure. Python 2.7 support should be fixable, which I will work on. Python 3.2 and 3.3 is more of a probablem since they aren't supported by pytest. thus removing them from the automatic running.

Also update travisci to use pytest.

Remove travis testing for python 3.2 and 3.3 since PyTest no longer
supports those versions.
@jd-boyd
Copy link
Contributor Author

jd-boyd commented Oct 30, 2018

BTW, here is the way to see test coverage:

pytest --cov-report term-missing --cov=HowLong

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant